<script setup>
defineProps(['name','color'])
</script>

<template>
    <div class="box">
        <svg >
            <use :xlink:href=" '#icon-'+ name " :fill="color" ></use>
        </svg>
    </div>
</template>

<style scoped>

</style>